

            function addArduinoCod (Blockly) {
            
                        

                        
        Blockly.Arduino['EXT_INFRARED_TRACKING_BLOCK_1608014171125'] = function(block)
        {
            let pin = this.getFieldValue('pin');
          
            Blockly.Arduino.definitions_['include_EXT_INFRARED_TRACKING_BLOCK_1608014171125'] = ``;
            Blockly.Arduino.definitions_['define_EXT_INFRARED_TRACKING_BLOCK_1608014171125'] = ``;
            Blockly.Arduino.definitions_['setup_EXT_INFRARED_TRACKING_BLOCK_1608014171125'] = `pinMode(${pin}, INPUT);`;
             return  [`digitalRead(${pin}) == 1`];
        }
                    
            return Blockly;
            }

            module.exports = addArduinoCod ;

        